package org.liang.factory.bean;

/*
 * javaBean属性信息
 */
public class BeanAttrsInfo implements Cloneable{
	private String name;//属性名称
	private String type;//属性类型
	private String comment = "";//属性注释，默认
	
	public BeanAttrsInfo() {
	}
	public BeanAttrsInfo(String name, String type, String comment) {
		this.name = name;
		this.type = type;
		if(comment != null) {
			this.comment = comment;
		}
	}
	public String getName() {
		return name;
	}
	public String getType() {
		return type;
	}
	public String getComment() {
		return comment;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	@Override
	protected BeanAttrsInfo clone() throws CloneNotSupportedException {
		
		return (BeanAttrsInfo)super.clone();
	}
}
